#include <stdio.h>

int main(int argc, char** argv, char** env)
{
    extern char** environ;
    int i=0;
    env[7] = (char*)"USER=ABC";
    environ[7] = (char*)"USER=hehe";
    for(; env[i]; i++)
    {
        printf("env[%d]: %s\n", i, env[i]);
    }
    for(i=0; environ[i]; i++)
    {
        printf("environ[%d]: %s\n", i, environ[i]);
    }
    return 0;
}
